package com.example.springboot.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
public class Message{
    private Integer id;
    private String name;
    private String username;
    private String phone;
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createtime;
    private String message;
    private String reply;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date replytime;
}
